package com.markyao.service.impl;

import com.markyao.dao.mapper.MiaoshaMapper;
import com.markyao.dao.pojo.Product;
import com.markyao.service.MiaoshaGoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MiaoshaGoodServiceImpl implements MiaoshaGoodService {
    @Autowired
    MiaoshaMapper miaoshaMapper;
    @Override
    public List<Product> getSeckillGoodsList() {

        return miaoshaMapper.findMiaoshaList();
    }
}
